Good morning! Just to be clear, I'm a DXL noob and i'd like to start dabling in the languge a bit more simply because of how powerful it is.
I was trying to create a view for my Web Access users that would filter the discussion column for a certain keyword. However, I'm given the following DXL Output dialog box when I try to save the filtered view:
-R-E- DXL: <standard/views/viewsSaveAs.inc:102> null Module parameter was passed into argument position 1
Backtrace:
<standard/views/viewsSaveAs.inc:189>
<standard/views/viewsSaveAs.inc:283>
<standard/views/viewsSaveAs.inc:189>
<standard/views/viewsSaveAs.inc:283>
<standard/views/viewsSaveAs.inc:189>
<standard/views/viewsSaveAs.inc:283>
<standard/views/viewsSaveAs.inc:189>
<standard/views/viewsSaveAs.inc:283>
<wizard/welcome/welcomewiz.dxl:701>
<Line:1>
Has anyone run into this problem and if so, might you have a recommendation as to how I can accomplish this task?
I'm all for learning so please, pull no punches. Cheers!
flabbergast - Wed Nov 18 10:29:55 EST 2009 |
Re: Filtering Discussions Layout DXL llandale - Wed Nov 18 12:55:28 EST 2009
Don't know about that specific error, but its likely your DXL context is wrong. Many DXLs presume to be run on an open module, the 'current Module'. That sort of DXL should be in a pull-down menu in the module, or can be run by using the DXL window that is opened from the module, not the DOORS explorer.
Try this:
o Open DOORS, Tools >>Edit Dxl, run the DXL below. Get error.
o Open a module. Run the DXL. Same error. That's because the DXL window is still in the Explorer context, not in your module context.
o From the module windows Tools >>Edit Dxl, run the DXL, no errors since opening the DXL from the Module changes its context.
o From the DOORS explorer, Tools >>Edit Dxl, run the DXL, no errors. That's because, strangely, opening from the Explorer does NOT take its context back from the Module.
o Close the module. DXL Windows also closes, since its still in Module context.
Module m = current
string Name = name(m)
infoBox("Module name is '" Name "'")
|